package com.example.edu.pay.model;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class PayOrder {

    public PayOrder(String payMethod, String payNo, BigDecimal amount) {
        this.payMethod = payMethod;
        this.payNo = payNo;
        this.amount = amount;
    }

    /**
     * 支付方式
     */
    private String payMethod;
    /**
     * 订单号
     */
    private String payNo;
    /**
     * 支付
     */
    private BigDecimal amount;

    private boolean payStatus = false;
}
